/* Copyright 2018 JDCLOUD.COM

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http:#www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

iot-card-Related-API
物联网卡服务相关API

OpenAPI spec version: v1
Contact: 

NOTE: This class is auto generated by the jdcloud code generator program.
*/


#ifndef IotcardApiModel_h
#define IotcardApiModel_h
#import <JDCloudOCSDKCore/JDCloudOCSDKCore.h>
#import <JDCloudOCSDKIotcard/IotcardModel.h>


@interface IotcardOpenIotCardRequest:JDCloudRequest

/// 物联网卡号码列表(单次提交最多不超过200个号码)
@property (strong,nonatomic,nonnull)  NSArray<NSString*>*  iccids;
-(id) initWithRegion:(NSString *)regionId
iccids:(NSArray<NSString*>*)iccids;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
iccids:(NSArray<NSString*>*)iccids;

@end

@interface IotcardLifeStatusRequest:JDCloudRequest

/// 物联网卡iccid
@property (strong,nonatomic,nonnull)  NSString*  iccid;
-(id) initWithRegion:(NSString *)regionId
iccid:(NSString*)iccid;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
iccid:(NSString*)iccid;

@end

@interface IotcardOnOffStatusRequest:JDCloudRequest

/// 物联网卡iccid
@property (strong,nonatomic,nonnull)  NSString*  iccid;
-(id) initWithRegion:(NSString *)regionId
iccid:(NSString*)iccid;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
iccid:(NSString*)iccid;

@end

@interface IotcardCloseIotFlowRequest:JDCloudRequest

/// 物联网卡号码列表(单次提交最多不超过200个号码)
@property (strong,nonatomic,nonnull)  NSArray<NSString*>*  iccids;
-(id) initWithRegion:(NSString *)regionId
iccids:(NSArray<NSString*>*)iccids;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
iccids:(NSArray<NSString*>*)iccids;

@end

@interface IotcardOpenIotFlowRequest:JDCloudRequest

/// 物联网卡号码列表(单次提交最多不超过200个号码)
@property (strong,nonatomic,nonnull)  NSArray<NSString*>*  iccids;
-(id) initWithRegion:(NSString *)regionId
iccids:(NSArray<NSString*>*)iccids;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
iccids:(NSArray<NSString*>*)iccids;

@end

@interface IotcardGprsRealtimeInfoRequest:JDCloudRequest

/// 物联网卡iccid
@property (strong,nonatomic,nonnull)  NSString*  iccid;
-(id) initWithRegion:(NSString *)regionId
iccid:(NSString*)iccid;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
iccid:(NSString*)iccid;

@end

@interface IotcardGprsStatusRequest:JDCloudRequest

/// 物联网卡iccid
@property (strong,nonatomic,nonnull)  NSString*  iccid;
-(id) initWithRegion:(NSString *)regionId
iccid:(NSString*)iccid;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
iccid:(NSString*)iccid;

@end

@interface IotcardCloseIotCardRequest:JDCloudRequest

/// 物联网卡号码列表(单次提交最多不超过200个号码)
@property (strong,nonatomic,nonnull)  NSArray<NSString*>*  iccids;
-(id) initWithRegion:(NSString *)regionId
iccids:(NSArray<NSString*>*)iccids;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
iccids:(NSArray<NSString*>*)iccids;

@end

@interface IotcardGprsRealtimeInfoResult : NSObject
/// 请求状态(0:成功;1:失败)
 @property (strong,nonatomic,nonnull)  NSString*  status;
/// 消息描述
 @property (strong,nonatomic,nonnull)  NSString*  message;
/// 指定物联网卡的当月套餐内的GPRS实时使用量
 @property (strong,nonatomic,nonnull)  GprsRealtimeInfoResp*  result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithStatus:(NSString*) status

    message:(NSString*)message

    result:(GprsRealtimeInfoResp*)result;
@end

@interface IotcardGprsRealtimeInfoResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property IotcardGprsRealtimeInfoResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(IotcardGprsRealtimeInfoResult*) result;
@end

@interface IotcardCloseIotFlowResult : NSObject
/// 请求状态(0:成功;1:失败)
 @property (strong,nonatomic,nonnull)  NSString*  status;
/// 消息描述
 @property (strong,nonatomic,nonnull)  NSString*  message;
/// Result
 @property (strong,nonatomic,nonnull)  NSArray<OperationIotCardResp*>*  result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithStatus:(NSString*) status

    message:(NSString*)message

    result:(NSArray<OperationIotCardResp*>*)result;
@end

@interface IotcardCloseIotFlowResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property IotcardCloseIotFlowResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(IotcardCloseIotFlowResult*) result;
@end

@interface IotcardLifeStatusResult : NSObject
/// 请求状态(0:成功;1:失败)
 @property (strong,nonatomic,nonnull)  NSString*  status;
/// 消息描述
 @property (strong,nonatomic,nonnull)  NSString*  message;
/// 指定物联网卡的生命周期信息
 @property (strong,nonatomic,nonnull)  LifeStatusResp*  result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithStatus:(NSString*) status

    message:(NSString*)message

    result:(LifeStatusResp*)result;
@end

@interface IotcardCloseIotCardResult : NSObject
/// 请求状态(0:成功;1:失败)
 @property (strong,nonatomic,nonnull)  NSString*  status;
/// 消息描述
 @property (strong,nonatomic,nonnull)  NSString*  message;
/// Result
 @property (strong,nonatomic,nonnull)  NSArray<OperationIotCardResp*>*  result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithStatus:(NSString*) status

    message:(NSString*)message

    result:(NSArray<OperationIotCardResp*>*)result;
@end

@interface IotcardCloseIotCardResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property IotcardCloseIotCardResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(IotcardCloseIotCardResult*) result;
@end

@interface IotcardGprsStatusResult : NSObject
/// 请求状态(0:成功;1:失败)
 @property (strong,nonatomic,nonnull)  NSString*  status;
/// 消息描述
 @property (strong,nonatomic,nonnull)  NSString*  message;
/// 指定物联网卡的gprs状态信息
 @property (strong,nonatomic,nonnull)  GprsStatusResp*  result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithStatus:(NSString*) status

    message:(NSString*)message

    result:(GprsStatusResp*)result;
@end

@interface IotcardGprsStatusResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property IotcardGprsStatusResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(IotcardGprsStatusResult*) result;
@end

@interface IotcardOpenIotCardResult : NSObject
/// 请求状态(0:成功;1:失败)
 @property (strong,nonatomic,nonnull)  NSString*  status;
/// 消息描述
 @property (strong,nonatomic,nonnull)  NSString*  message;
/// Result
 @property (strong,nonatomic,nonnull)  NSArray<OperationIotCardResp*>*  result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithStatus:(NSString*) status

    message:(NSString*)message

    result:(NSArray<OperationIotCardResp*>*)result;
@end

@interface IotcardOnOffStatusResult : NSObject
/// 请求状态(0:成功;1:失败)
 @property (strong,nonatomic,nonnull)  NSString*  status;
/// 消息描述
 @property (strong,nonatomic,nonnull)  NSString*  message;
/// 指定物联网卡的开关机状态信息
 @property (strong,nonatomic,nonnull)  OnOffStatusResp*  result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithStatus:(NSString*) status

    message:(NSString*)message

    result:(OnOffStatusResp*)result;
@end

@interface IotcardLifeStatusResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property IotcardLifeStatusResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(IotcardLifeStatusResult*) result;
@end

@interface IotcardOpenIotCardResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property IotcardOpenIotCardResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(IotcardOpenIotCardResult*) result;
@end

@interface IotcardOpenIotFlowResult : NSObject
/// 请求状态(0:成功;1:失败)
 @property (strong,nonatomic,nonnull)  NSString*  status;
/// 消息描述
 @property (strong,nonatomic,nonnull)  NSString*  message;
/// Result
 @property (strong,nonatomic,nonnull)  NSArray<OperationIotCardResp*>*  result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithStatus:(NSString*) status

    message:(NSString*)message

    result:(NSArray<OperationIotCardResp*>*)result;
@end

@interface IotcardOpenIotFlowResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property IotcardOpenIotFlowResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(IotcardOpenIotFlowResult*) result;
@end

@interface IotcardOnOffStatusResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property IotcardOnOffStatusResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(IotcardOnOffStatusResult*) result;
@end

#endif /* IotcardApiModel_h */
